package question11;

import question10.InterfaceA;

/**
 * @FileName Test
 * @Description
 * @Author Sword
 * @date 2024-10-23
 **/
public class Test {
    public static void main(String[] args) {
        //最后使用接口回调的方式来测试n=4时的程序执行情况
        InterfaceA b = new ClassB();
        int factorial = b.method(4);
        System.out.println(factorial);
    }
}
